Create a list of empty dictionariesΒΆ

Create a list of empty dictionaries.
N = 5
LOD = [{} for _ in range(N)]

print(LOD)    # [{}, {}, {}, {}, {}]